#! /usr/bin/env python
# vim: ts=8 tw=4 sts=4 et
import wx
import os

class MainFrame(wx.Frame):
    def __init__(self, parent, title):
        wx.Frame.__init__(self, parent, -1, title)
        self.CentreOnScreen(wx.BOTH)

class MainApp(wx.App):
    def OnInit(self):
        frame = MainFrame(None, "Main Frame")
        frame.Show()
        self.SetTopWindow(frame)
        return True

    def OnExit(self):
        pass

if __name__ == "__main__":
    MainApp(redirect=False).MainLoop()
